// 定义行为描述

//开关
export const onoff = index => {
    return {
        type: 'Switch_Visible',
        payload: index
    }
}
//删除
export const del = index => {
    return {
        type: 'del_modaldata',
        payload: index
    }
}
//上移
export const updata = index => {
    return {
        type: 'up_modaldata',
        payload: index
    }
}
//下移
export const downdata = index => {
    return {
        type: 'down_modaldata',
        payload: index
    }
}
//添加
export const pushdata = index => {
    return {
        type: 'pushdata_modaldata',
        payload: index
    }
}
//更新
export const updatamoadl = index => {
    return {
        type: 'pushdata_modaldata',
        payload: index
    }
}